package tbalert.web.dao;

import java.util.List;

import tbalert.hibernate3.Finder;
import tbalert.hibernate3.Updater;
import tbalert.page.Pagination;
import tbalert.web.entity.Role;

public interface RoleDao {

	public Role deleteById(Integer id);

	public Pagination find(Finder finder, int pageNo, int pageSize);

	public Role findById(Integer id);

	public List<Role> getAll();

	public Role save(Role bean);

	public Role updateByUpdater(Updater<Role> updater);
}
